#!/bin/bash

export PATH="`defaults read $HOME/.MacOSX/environment PATH`"
export CFLAGS="-arch x86_64 -O3 -mtune=native"

./configure \
	--prefix=/usr/local \
	--build=x86_64-apple-darwin10.8.0 \
	--with-libiconv-prefix=/usr/lib \
	--disable-static

make clean
make -j4
make install
